home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / The Hacks! / Interim Executive Decision / patch / ied-test.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-21  |  354 b   |  18 lines  |  [TEXT/CWIE]

  1. #include <Errors.h>
  2. #include <Gestalt.h>
  3. #include <stdio.h>
  4.  
  5. //============================================================================
  6.  
  7. void main (void)
  8. {
  9.     OSErr                err;
  10.     long                response = 0;
  11.  
  12.     err = Gestalt('SPJ!', &response);
  13.  
  14.     printf("%ld %lx\n", err, response);
  15. }
  16.  
  17. //============================================================================
  18.